package com.yuyou.fn.crm.vo;


import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;
import org.jeecgframework.poi.handler.inter.IExcelModel;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

@ExcelTarget("客户资源")
public class ImportCustomerResourceVo implements IExcelModel {



    @Excel(name = "来源大类")
    @NotEmpty(message = "来源大类不能为空")
    private String fromBigCategoryName;

    /** 来源小类 */
    @Excel(name = "来源小类")
    @NotEmpty(message = "来源小类不能为空")
    private String fromSmallCategoryName;

    /** 分配校区 */
    @Excel(name = "意向校区")
    private String campusName;


    /** 学生姓名 */
    @Excel(name = "学生姓名")
    @Pattern(regexp = "[\u4E00-\u9FA5]*", message = "不是学生姓名")
    @NotEmpty(message = "学生姓名不能为空")
    private String studentName;

    @Excel(name = "性别")
    @Pattern(regexp = "^[男女]$", message = "性别只能为男或女")
    private String sex ;

    /** 电话号码 */
    @Excel(name = "电话号码")
    @Pattern(regexp = "1\\d{10}", message = "电话号码格式不正确")
    @NotEmpty(message = "电话号码不能为空")
    private String phoneNo;



    /** 在读年级名称 */
    @Excel(name = "年级")
    private String gradeName;

    /** 紧急程度 0:低 1:中 2:高 */
    @Excel(name = "紧急程度")
    @NotEmpty(message = "紧急程度不能为空")
    @Pattern(regexp = "^[低中高]$", message = "性别只能为男或女")
    private String priority;

    /** 项目活动名称 */
    @Excel(name = "项目活动名称")
    @NotEmpty(message = "项目活动名称不能为空")
    private String projectName;

    /** 项目活动日期 */
    @Excel(name = "项目活动日期",importFormat = "yyyy-MM-dd")
    @NotEmpty(message = "项目活动日期不能为空")
    @Pattern(regexp = "\\d{4}-\\d{2}-\\d{2}", message = "项目活动日期格式不正确,正确格式为:yyyy-MM-dd")
    private String projectTime;


    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    private String errorMsg ;

    @Excel(name = "回收时长(天)")
    private Integer recycleDays;

    private Long activityRegSituationId;

    private Integer signStatus;

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getFromBigCategoryName() {
        return fromBigCategoryName;
    }

    public void setFromBigCategoryName(String fromBigCategoryName) {
        this.fromBigCategoryName = fromBigCategoryName;
    }

    public String getFromSmallCategoryName() {
        return fromSmallCategoryName;
    }

    public void setFromSmallCategoryName(String fromSmallCategoryName) {
        this.fromSmallCategoryName = fromSmallCategoryName;
    }

    @Override
    public String getErrorMsg() {
        return errorMsg;
    }

    @Override
    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg ;
    }

    public String getCampusName() {
        return campusName;
    }

    public void setCampusName(String campusName) {
        this.campusName = campusName;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }


    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public String getPriority() {
        return priority;
    }

    public void setPriority(String priority) {
        this.priority = priority;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectTime() {
        return projectTime;
    }

    public void setProjectTime(String projectTime) {
        this.projectTime = projectTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getRecycleDays() {
        return recycleDays;
    }

    public void setRecycleDays(Integer recycleDays) {
        this.recycleDays = recycleDays;
    }

    public Long getActivityRegSituationId() {
        return activityRegSituationId;
    }

    public void setActivityRegSituationId(Long activityRegSituationId) {
        this.activityRegSituationId = activityRegSituationId;
    }

    public Integer getSignStatus() {
        return signStatus;
    }

    public void setSignStatus(Integer signStatus) {
        this.signStatus = signStatus;
    }
}
